<template>
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>

<script setup>
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import { useAppStore } from "@/stores";
// import use元件袋 from "@/hooks/use元件袋"
import * as util from "@/utils"
import * as 元件util from 'amtf/api/元件util';
import * as 商城 from '@/api/商城';

useAppStore()
元件util.查元件()
defineOptions({
  name: 'App'
})

// async function 测试(params) {
//   // let res = await 商城.首页头部统计()
//   let res = await 商城.订单图表({ cycle: "thirtyday" })
//   console.log(`首页头部统计 res 👉`, res)
// }
// 测试()

</script>
